package bairui.international.console.web.controller.delicate.category;

import com.lianjing.sh.spring.web.controller.enhance.module.Module;
import com.lianjing.sh.spring.web.controller.enhance.module.ModuleHead;
import com.lianjing.sh.spring.web.controller.enhance.module.body.TreeModuleBody;

/**
 *
 * Module_Tree
 *
 */
class Module_Tree{

	/**
	 * 树模块
	 */
	public Module module(
		C_Delicate_Category_Tree_Tree.Tree.Operate c_Delicate_Category_Tree_Tree_Tree_Operate
	,	C_Delicate_Category_Add_AddAccess.AddAccess.Operate c_Delicate_Category_Add_AddAccess_AddAccess_Operate
	,	C_Delicate_Category_Edit_EditAccess.EditAccess.Operate c_Delicate_Category_Edit_EditAccess_EditAccess_Operate
	,	C_Delicate_Category_Delete_Delete.Delete.Operate c_Delicate_Category_Delete_Delete_Delete_Operate
	,	C_Delicate_Category_Detail_DetailAccess.DetailAccess.Operate c_Delicate_Category_Detail_DetailAccess_DetailAccess_Operate
	){
		return
			new Module(
					new ModuleHead("列表")
					, 
					new TreeModuleBody(
							"树", 
							Tree_OutputInfo.outputInfo(),
							c_Delicate_Category_Tree_Tree_Tree_Operate
						)
						.addTreeOperate(
							c_Delicate_Category_Add_AddAccess_AddAccess_Operate
								.defaultComment("添加")
							
						)
						.addTreeOperate(
							c_Delicate_Category_Edit_EditAccess_EditAccess_Operate
								.defaultComment("编辑")
							
						)
						.addTreeOperate(
							c_Delicate_Category_Delete_Delete_Delete_Operate
								.defaultComment("删除")
							
						)
						.addEmbedOperate(
								c_Delicate_Category_Detail_DetailAccess_DetailAccess_Operate
									.defaultComment("详情")
								
							)
				);
	}
	
	/**
	 * 输出模型
	 */
	

}
